import 'package:boss/ui/widget/center_title_app_bar.dart';
import 'package:flutter/material.dart';
import 'package:hi_common/hi_common.dart';
import 'package:router/annotation.dart';

import 'widget/module_browser.dart';

@RouterConfig(ModulePage.pageName)
class ModulePage extends StatefulWidget {
  static const String pageName = '/modulePage';

  @override
  _ModulePageState createState() => _ModulePageState('模块页面');
}

class _ModulePageState extends BaseState<ModulePage> {
  _ModulePageState(String pageName) : super(pageName);

  @override
  Widget build(BuildContext context) {
    return Scaffold(
      appBar: CenterTitleAppBar(
        title: '模块',
      ),
      body: ModuleBrowser(),
    );
  }
}
